<!DOCTYPE html>
<script>
parent.frameElement.parentNode.removeChild(parent.frameElement);
</script>
<body>
  <p>A frame that remove its parent's frameElement from the DOM during load.
</body>
